package com.btb.adapter.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TaskConfigExample {
    /**
     * .
    task_config
     */
    protected String orderByClause;

    /**
     * .
    task_config
     */
    protected boolean distinct;

    /**
     * .
    task_config
     */
    protected List<Criteria> oredCriteria;

    public TaskConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 本类代码由mybatis - gen生成.
     * 此类对应数据库中的表： task_config
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNull() {
            addCriterion("task_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNotNull() {
            addCriterion("task_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskNameEqualTo(String value) {
            addCriterion("task_name =", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotEqualTo(String value) {
            addCriterion("task_name <>", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThan(String value) {
            addCriterion("task_name >", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_name >=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThan(String value) {
            addCriterion("task_name <", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThanOrEqualTo(String value) {
            addCriterion("task_name <=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLike(String value) {
            addCriterion("task_name like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotLike(String value) {
            addCriterion("task_name not like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameIn(List<String> values) {
            addCriterion("task_name in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotIn(List<String> values) {
            addCriterion("task_name not in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameBetween(String value1, String value2) {
            addCriterion("task_name between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotBetween(String value1, String value2) {
            addCriterion("task_name not between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyIsNull() {
            addCriterion("task_frequency is null");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyIsNotNull() {
            addCriterion("task_frequency is not null");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyEqualTo(Long value) {
            addCriterion("task_frequency =", value, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyNotEqualTo(Long value) {
            addCriterion("task_frequency <>", value, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyGreaterThan(Long value) {
            addCriterion("task_frequency >", value, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyGreaterThanOrEqualTo(Long value) {
            addCriterion("task_frequency >=", value, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyLessThan(Long value) {
            addCriterion("task_frequency <", value, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyLessThanOrEqualTo(Long value) {
            addCriterion("task_frequency <=", value, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyIn(List<Long> values) {
            addCriterion("task_frequency in", values, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyNotIn(List<Long> values) {
            addCriterion("task_frequency not in", values, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyBetween(Long value1, Long value2) {
            addCriterion("task_frequency between", value1, value2, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andTaskFrequencyNotBetween(Long value1, Long value2) {
            addCriterion("task_frequency not between", value1, value2, "taskFrequency");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberIsNull() {
            addCriterion("init_block_number is null");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberIsNotNull() {
            addCriterion("init_block_number is not null");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberEqualTo(Long value) {
            addCriterion("init_block_number =", value, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberNotEqualTo(Long value) {
            addCriterion("init_block_number <>", value, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberGreaterThan(Long value) {
            addCriterion("init_block_number >", value, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("init_block_number >=", value, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberLessThan(Long value) {
            addCriterion("init_block_number <", value, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberLessThanOrEqualTo(Long value) {
            addCriterion("init_block_number <=", value, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberIn(List<Long> values) {
            addCriterion("init_block_number in", values, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberNotIn(List<Long> values) {
            addCriterion("init_block_number not in", values, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberBetween(Long value1, Long value2) {
            addCriterion("init_block_number between", value1, value2, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andInitBlockNumberNotBetween(Long value1, Long value2) {
            addCriterion("init_block_number not between", value1, value2, "initBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberIsNull() {
            addCriterion("start_block_number is null");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberIsNotNull() {
            addCriterion("start_block_number is not null");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberEqualTo(Long value) {
            addCriterion("start_block_number =", value, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberNotEqualTo(Long value) {
            addCriterion("start_block_number <>", value, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberGreaterThan(Long value) {
            addCriterion("start_block_number >", value, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("start_block_number >=", value, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberLessThan(Long value) {
            addCriterion("start_block_number <", value, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberLessThanOrEqualTo(Long value) {
            addCriterion("start_block_number <=", value, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberIn(List<Long> values) {
            addCriterion("start_block_number in", values, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberNotIn(List<Long> values) {
            addCriterion("start_block_number not in", values, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberBetween(Long value1, Long value2) {
            addCriterion("start_block_number between", value1, value2, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStartBlockNumberNotBetween(Long value1, Long value2) {
            addCriterion("start_block_number not between", value1, value2, "startBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberIsNull() {
            addCriterion("progress_block_number is null");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberIsNotNull() {
            addCriterion("progress_block_number is not null");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberEqualTo(Long value) {
            addCriterion("progress_block_number =", value, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberNotEqualTo(Long value) {
            addCriterion("progress_block_number <>", value, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberGreaterThan(Long value) {
            addCriterion("progress_block_number >", value, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("progress_block_number >=", value, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberLessThan(Long value) {
            addCriterion("progress_block_number <", value, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberLessThanOrEqualTo(Long value) {
            addCriterion("progress_block_number <=", value, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberIn(List<Long> values) {
            addCriterion("progress_block_number in", values, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberNotIn(List<Long> values) {
            addCriterion("progress_block_number not in", values, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberBetween(Long value1, Long value2) {
            addCriterion("progress_block_number between", value1, value2, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andProgressBlockNumberNotBetween(Long value1, Long value2) {
            addCriterion("progress_block_number not between", value1, value2, "progressBlockNumber");
            return (Criteria) this;
        }

        public Criteria andStepNumIsNull() {
            addCriterion("step_num is null");
            return (Criteria) this;
        }

        public Criteria andStepNumIsNotNull() {
            addCriterion("step_num is not null");
            return (Criteria) this;
        }

        public Criteria andStepNumEqualTo(Long value) {
            addCriterion("step_num =", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumNotEqualTo(Long value) {
            addCriterion("step_num <>", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumGreaterThan(Long value) {
            addCriterion("step_num >", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumGreaterThanOrEqualTo(Long value) {
            addCriterion("step_num >=", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumLessThan(Long value) {
            addCriterion("step_num <", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumLessThanOrEqualTo(Long value) {
            addCriterion("step_num <=", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumIn(List<Long> values) {
            addCriterion("step_num in", values, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumNotIn(List<Long> values) {
            addCriterion("step_num not in", values, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumBetween(Long value1, Long value2) {
            addCriterion("step_num between", value1, value2, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumNotBetween(Long value1, Long value2) {
            addCriterion("step_num not between", value1, value2, "stepNum");
            return (Criteria) this;
        }

        public Criteria andOffsetIsNull() {
            addCriterion("offset is null");
            return (Criteria) this;
        }

        public Criteria andOffsetIsNotNull() {
            addCriterion("offset is not null");
            return (Criteria) this;
        }

        public Criteria andOffsetEqualTo(Long value) {
            addCriterion("offset =", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetNotEqualTo(Long value) {
            addCriterion("offset <>", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetGreaterThan(Long value) {
            addCriterion("offset >", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetGreaterThanOrEqualTo(Long value) {
            addCriterion("offset >=", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetLessThan(Long value) {
            addCriterion("offset <", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetLessThanOrEqualTo(Long value) {
            addCriterion("offset <=", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetIn(List<Long> values) {
            addCriterion("offset in", values, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetNotIn(List<Long> values) {
            addCriterion("offset not in", values, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetBetween(Long value1, Long value2) {
            addCriterion("offset between", value1, value2, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetNotBetween(Long value1, Long value2) {
            addCriterion("offset not between", value1, value2, "offset");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Long value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Long value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Long value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Long value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Long value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Long value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Long> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Long> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Long value1, Long value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Long value1, Long value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIsNull() {
            addCriterion("retry_times is null");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIsNotNull() {
            addCriterion("retry_times is not null");
            return (Criteria) this;
        }

        public Criteria andRetryTimesEqualTo(Integer value) {
            addCriterion("retry_times =", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotEqualTo(Integer value) {
            addCriterion("retry_times <>", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesGreaterThan(Integer value) {
            addCriterion("retry_times >", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("retry_times >=", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesLessThan(Integer value) {
            addCriterion("retry_times <", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesLessThanOrEqualTo(Integer value) {
            addCriterion("retry_times <=", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIn(List<Integer> values) {
            addCriterion("retry_times in", values, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotIn(List<Integer> values) {
            addCriterion("retry_times not in", values, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesBetween(Integer value1, Integer value2) {
            addCriterion("retry_times between", value1, value2, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("retry_times not between", value1, value2, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNull() {
            addCriterion("updated_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNotNull() {
            addCriterion("updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeEqualTo(Date value) {
            addCriterion("updated_time =", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotEqualTo(Date value) {
            addCriterion("updated_time <>", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThan(Date value) {
            addCriterion("updated_time >", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_time >=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThan(Date value) {
            addCriterion("updated_time <", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("updated_time <=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIn(List<Date> values) {
            addCriterion("updated_time in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotIn(List<Date> values) {
            addCriterion("updated_time not in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("updated_time between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("updated_time not between", value1, value2, "updatedTime");
            return (Criteria) this;
        }
    }

    /**
     * 本类代码由mybatis - gen生成.
     * 此类对应数据库中的表： task_config
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 本类代码由mybatis - gen生成.
     * 此类对应数据库中的表： task_config
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}